/*
 * @Author: yushuang
 * @Date: 2024-11-26 14:18:51
 * @LastEditors: yushuang
 * @LastEditTime: 2024-12-19 16:53:02
 * @Description:
 */
import { initGlobalState, MicroAppStateActions } from 'qiankun';
import { ActionState } from '@/types/base';

// 注册微应用通信示例
const initialState: ActionState = {
  data: '', // 消息内容
  from: '' // 发消息的应用名称
};
const actions: MicroAppStateActions = initGlobalState(initialState);
export default actions;
